ComponentOne Xamarin.Android
GetItemViewType Method


C1.Android.CollectionView Assembly > C1.Android.CollectionView Namespace > C1RecyclerViewAdapter<T> Class : GetItemViewType Method
Syntax
'Declaration
 
<Android.Runtime.RegisterAttribute("getItemViewType", 
   "(I)I", 
   "GetGetItemViewType_IHandler")>
Public Overrides NotOverridable Function GetItemViewType( _
   ByVal position As Integer _
) As Integer
'Usage
 
Dim instance As C1RecyclerViewAdapter(Of T)
Dim position As Integer
Dim value As Integer
 
value = instance.GetItemViewType(position)
[Android.Runtime.Register("getItemViewType", 
   "(I)I", 
   "GetGetItemViewType_IHandler")]
public override int GetItemViewType( 
   int position
)

Parameters

position
See Also

Reference

C1RecyclerViewAdapter<T> Class
C1RecyclerViewAdapter<T> Members